
import 'package:flutter/material.dart';
import 'package:get/get.dart';

const double px_base_0 = 0;
const double px_base_5 = 5;
const double px_base_12 = 12;
const double px_base_14 = 14;
const double px_base_15 = 15;
const double px_base_17d5 = 17.5;
const double px_base_30 = 30.0;
const double px_base_35 = 35.0;
const double px_base_39d5 = 39.5;
const double px_base_55 = 55.0;
const double px_base_91 = 91.0;
const double px_base_150 = 150.0;

double pxScreenWidth({BuildContext? context}){
  return MediaQuery.of(context??Get.context!).size.width;
}
double pxScreenHeight({BuildContext? context}){
  return MediaQuery.of(context??Get.context!).size.height;
}
double pxStatusBarHeight({BuildContext? context}){
  return MediaQuery.of(context??Get.context!).padding.top;
}
double pxBottomBarHeight({BuildContext? context}){
  return MediaQuery.of(context??Get.context!).padding.bottom;
}
const double px_appBarHeight = kToolbarHeight;